<!DOCTYPE html>
<html>
<meta charset="utf-8">
<head th:include="include::header"></head>
<link  th:href="@{/js/plugins/layui/css/layui.css}" rel="stylesheet">
<script src="/js/plugins/layui/layui.js"></script>
<body class="gray-bg">
	<div class="wrapper wrapper-content animated fadeInRight">
		<div class="row">
			<div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-content">
                        <form class="form-horizontal m-t" id="signupForm">
                            <input id="id" name="id" th:value="${obj.id}"
								type="hidden">
							<div class="form-group">
								<label class="col-sm-3 control-label">APPID：</label>
								<div class="col-sm-8">
									<input id="appid" name="appid" th:value="${obj.appid}"
										class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">TOKEN：</label>
								<div class="col-sm-8">
									<input id="token" name="token" th:value="${obj.token}"
										class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">秘钥设置：</label>
								<div class="col-sm-8">
									<input id="appSecret" name="appSecret"
										th:value="${obj.appSecret}" class="form-control"
										type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">域名配置：</label>
								<div class="col-sm-8">
									<input id="domain" name="domain"
										th:value="${obj.domain}" class="form-control"
										type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">商户ID：</label>
								<div class="col-sm-8">
									<input id="mchId" name="mchId" th:value="${obj.mchId}"
										class="form-control" type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">支付秘钥：</label>
								<div class="col-sm-8">
									<input id="paternerKey" name="paternerKey"
										th:value="${obj.paternerKey}" class="form-control"
										type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">证书路径：</label>
								<div class="col-sm-8">
									<input id="certPath" name="certPath"
										th:value="${obj.certPath}" class="form-control"
										type="text">
								</div>
							</div>
							<div class="form-group">
								<label class="col-sm-3 control-label">是否启用：</label>
								<div class="col-sm-8">
									<label class="radio-inline"> 
									<input type="radio" th:checked="${obj.open==0}? 'true' : 'false' " value="0" name="open">禁用
									</label> 
									<label class="radio-inline"> 
									<input type="radio" th:checked="${obj.open==1}? 'true' : 'false' " value="1" name="open">启用
									</label>
								</div>
							</div>
							<div class="form-group">
								<div class="col-sm-8 col-sm-offset-3">
									<button type="submit" class="btn btn-primary">提交</button>
								</div>
							</div>
                        </form>
                    </div>
                </div>
            </div>
        </div>
		</div>
	</div>
	<div th:include="include :: footer"></div>
	<script type="text/javascript" src="/js/business/system/wxconfig/edit.js"></script>
</body>

</html>
